CPSW\Admin\Admin_Controller D

Total Complexity 293
Dependencies 15
Dependents 2
Total lines 2,306
Lines of code 1,591
Logical lines of code 653
Comment lines 537
Methods 53
Properties 4

Methods 53

Method Rating Maintainability Complexity Lines of code
enqueue_scripts()
C
30 22 114
check_connection_on_updates()
C
36 24 80
connection_test()
B
36 20 78
checkout_settings()
B
25
4 238
are_keys_set_check()
A
49 17 23
create_webhooks()
A
39 14 68
initialise_warnings()
A
53 14 20
cpsw_express_checkout_option_updates()
A
45 11 39
admin_options()
A
41 10 54
connect_button()
A
43 9 48
are_keys_set()
A
57 10 18
delete_webhooks()
A
49 9 32
add_manual_connect_link()
A
56 10 15
get_settings()
A
32 1 132
add_breadcrumb()
S
52 7 24
account_id()
S
42 4 61
delete_webhook_action()
S
57 7 14
account_keys()
S
50 6 29
create_webhook_action()
S
56 6 15
disconnect_account()
S
57 6 15
stripe_connect()
S
48 4 37
update_mode()
S
63 6 10
webhook_url()
S
52 4 26
init()
S
46 3 36
redirect_if_manually_saved()
S
68 5 6
js_errors()
S
59 4 13
filter_settings_fields()
S
51 3 28
express_checkout_preview()
S
49 2 42
update_options()
S
63 4 11
delete_webhook_field()
S
53 3 25
delete_live_webhook_field()
S
53 3 25
retrieve_webhooks()
S
62 4 10
get_account_info()
S
61 3 13
get_stripe_connect_url()
S
53 2 25
create_webhook_field()
S
55 2 21
create_live_webhook_field()
S
55 2 21
add_settings_links()
S
68 3 7
is_stripe_connected()
S
70 3 6
__construct()
S
63 3 10
update_settings()
S
65 3 9
remove_webhook_secret_settings_keys()
S
65 3 9
stripe_checkout_notice()
S
53 1 23
init_navigations()
S
55 1 19
remove_settings_keys()
S
69 2 6
add_settings_tab()
S
75 1 4
express_checkout_notice()
S
71 1 7
insufficient_permission()
S
78 1 3
webhooks_missing_notice()
S
75 1 3
add_custom_css()
S
72 1 7
connect_failed_notice()
S
78 1 3
connect_success_notice()
S
78 1 3
ssl_not_connect()
S
78 1 3
settings_tab()
S
81 1 3